<template>
  <div class="main">
    <div class="body">
      <div class="tip">智慧医院--复习生管理系统</div>
      <!-- <div>
      <img src="../../assets/bookmark.png" class="img"/>
    </div> -->

    </div>
    <!-- <bottomView /> -->
  </div>


</template>
<script>
import bottomView from "@/components/bottom.vue";
import { mapActions } from 'vuex';

export default {
  data() {
    return {
      path: '',
    };
  },
  components: {
    bottomView
  },
  mounted() {
    this.path = this.$route.path
    this.addPath()
  },
  methods: {
    ...mapActions(['uploadAdd']),
    addPath() {
      this.uploadAdd({
        id: 0,
        label: '首页',
        path: this.path,
      })
    },
  },
}
</script>
<style scoped>
.body {
  text-align: center;
  /* min-height: calc(100% - 140px);
  border-bottom: 1px solid #dedede; */
}

.main {
  height: 100%;
  width: 100%;
  background: url(../../assets/main_bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
}

.img {
  width: 35%;
  margin: 0 auto;
  text-align: center;
}

.tip {
  margin-top: 140px;
  margin-bottom: 20px;
  margin-left: -50px;
  font-size: min(4vw, 33px);
  color: #2E85FF;
  font-weight: bold;
}
</style>